import Vue from 'vue'
import App from './App.vue'
import router from './router'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

import Cookie from 'js-cookie'
Vue.use(Cookie)

Vue.config.productionTip = false


import { post, get} from './utils/httpRequest.js'
// 定义全局变量
Vue.prototype.$post = post;
Vue.prototype.$get = get;


new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
